package com.topnav.mc.schedule.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.io.Serializable;

/**
 * @Author: kenny
 * @Date: 2023/12/20 13:59
 */
public class ForcedGcJob implements Job, Serializable {
    private static final long serialVersionUID = 426889727462695157L;

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        //强制内存回收
        System.gc();
    }
}
